import VueRouter from 'vue-router'   //导入包


import home  from  './home.vue'
import manageMoney  from './manageMoney.vue'
import my from './my.vue'
import raise  from './raise.vue'
import newlist  from './zj/newlist.vue'

import doctor   from    './zj/doctor.vue'


var router=new VueRouter({             //创建路由对象  
    routes:[    // { path: '/person', component: person }
    { path: '/home', component: home } ,
    { path: '/manageMoney', component: manageMoney },
    { path: '/my', component: my },
    {  path:'/raise' , component: raise  },

    {  path:'/newlist' ,
       name: 'newlist' ,
    component: newlist  } ,

    {  path:'/doctor' ,
    name: 'doctor' ,
 component: doctor  }


                  
    ] ,linkActiveClass: 'mystyle' 
  });

  export default router      //向外暴露路由 